home *** CD-ROM | disk | FTP | other *** search
/ InterCD 2000 September / september_2000.iso / intercd / root / ^Linux / WindowMaker / util / Makefile.am < prev    next >
Encoding:
Makefile  |  1999-09-16  |  1.5 KB  |  70 lines

  1.  
  2. AUTOMAKE_OPTIONS = no-dependencies
  3.  
  4. pkgdatadir  = $(datadir)/@PACKAGE@
  5.  
  6. bin_PROGRAMS = wxcopy wxpaste wdwrite getstyle setstyle seticons geticonset wmsetbg
  7.  
  8. bin_SCRIPTS = wmaker.inst wm-oldmenu2new wsetfont wkdemenu.pl
  9.  
  10. EXTRA_DIST = wmaker.inst.in bughint wm-oldmenu2new wsetfont directjpeg.c \
  11.         wkdemenu.pl
  12.  
  13. INCLUDES = @DFLAGS@ -I$(top_srcdir)/WINGs -I$(top_srcdir)/wrlib \
  14.     @HEADER_SEARCH_PATH@
  15.  
  16. # X_EXTRA_LIBS is for libproplist in systems that need -lsocket
  17. liblist= @LIBRARY_SEARCH_PATH@ @LIBPL@ @X_EXTRA_LIBS@
  18.  
  19. wdwrite_LDADD = $(liblist)
  20.  
  21. wxcopy_LDADD = @XLFLAGS@ @XLIBS@ 
  22.  
  23. wxpaste_LDADD = @XLFLAGS@ @XLIBS@
  24.  
  25. getstyle_LDADD = $(liblist)
  26.  
  27. setstyle_LDADD = @XLFLAGS@ @XLIBS@ $(liblist)
  28.  
  29. seticons_LDADD= $(liblist)
  30.  
  31. geticonset_LDADD= $(liblist)
  32.  
  33. wmsetbg_LDADD = \
  34.     $(top_builddir)/WINGs/libWINGs.a \
  35.     $(top_builddir)/wrlib/libwraster.la \
  36.     @LIBRARY_SEARCH_PATH@ \
  37.     @LIBPL@ \
  38.     @GFXLIBS@ @XLIBS@ @DLLIBS@ -lm
  39.  
  40. getstyle_SOURCES = getstyle.c
  41.  
  42. setstyle_SOURCES = setstyle.c
  43.  
  44. seticons_SOURCES = seticons.c
  45.  
  46. geticonset_SOURCES = geticonset.c
  47.  
  48. wxcopy_SOURCES = wxcopy.c
  49.  
  50. wxpaste_SOURCES = wxpaste.c
  51.  
  52. wdwrite_SOURCES = wdwrite.c
  53.  
  54. wmsetbg_SOURCES = wmsetbg.c 
  55.  
  56. CLEANFILES = wmaker.inst
  57.  
  58. wmaker.inst: $(srcdir)/wmaker.inst.in ./Makefile
  59.     -rm -f wmaker.inst
  60.     sed -e "s|#pkgdatadir#|$(pkgdatadir)|" \
  61.         -e "s|#sysconfdir#|$(sysconfdir)/WindowMaker|" \
  62.         -e "s|#version#|$(VERSION)|" \
  63.         -e "s|#bindir#|$(bindir)|" \
  64.         -e "s|#LITE#|@LITE@|" \
  65.             $(srcdir)/wmaker.inst.in >wmaker.inst
  66.  
  67.     chmod 755 wmaker.inst
  68.  
  69.  
  70.